﻿using DFGK_WMS.Model.Models;
using DFGK_WMS.Model.Models.LyModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK.IService
{
    public interface IScrappedWorkService
    {
        List<ScrappedWork> GetScrappedWorkData(string? name, out int totalCount, int pageIndex = 1, int pageSize = 15);
        bool DelScrappedWork(long scrappedWorkId);
        bool AddOrModefiyScrappedWork(ScrappedWork model, out string errorMsg);

        ScrappedWork? GetScrappedWork(long scrappedWorkId);
    }
}
